.buylayer{
    box-sizing: border-box;
    text-align: left;

}
.popup
{
     animation:myfirst 5s;
    -webkit-animation:myfirst 5s;
    animation-fill-mode: forwards;
    background:red;
    z-index: 20000;
}
@-webkit-keyframes myfirst /* Safari and Chrome */
{
    0% {  height:0px; }
    100% {  height:70%; }
}
.sku-selector-bg{
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,.7);
    z-index: 2000;
}
.sku-selector-main {
    position: absolute;
    width: 100%;
    bottom: 0;
    -webkit-transition: bottom .15s linear;
    transition: bottom .15s linear;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.sku-selector-main-show {
    bottom: 0;
}
.sku-selector-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 0.2rem;
    background-color: #fff;
}
.sku-selector-head {
    position: relative;
    width: 100%;
    height: 3.2rem;
    border-bottom: 1px solid #f2f2f2;
}
.sku-selector-head img {
    position: absolute;
    height: 4rem;
    width: 4rem;
    top: -1rem;
    left: 0;
    border: 2px solid #fff;
    border-radius: .05rem;
    box-shadow: 0 0 0.02rem #58595b;
    z-index: 1;
}
.sku-selector-head-content {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0.2rem 0 0 4.5rem;
}
.sku-selector-price {
    position: relative;
    width: 100%;
    height: 1rem;
    margin-bottom: 0.2rem;
    line-height: 1rem;
    font-size: 0.8rem;
    color: #e02e24;
}
.sku-selector-desc {
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.6rem;
    line-height: 1rem;
    color: #151516;
    word-break: break-all;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sku-selector-close-btn {
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    padding: 0.2rem;
    top: 0;
    right: 0.1rem;
}

#sku-selector-body {
    position: relative;
    width: 100%;
    max-height: 20rem;
}
.sku-specs {
    position: relative;
    width: 100%;
    padding: 0.5rem 0 0 0.2rem;
    border-bottom: 1px solid #f2f2f2;
}

.sku-specs-key {
    font-size: 0.8rem;
    color: #151516;
    text-align: left;
}
.sku-spec-value-list {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 0.2rem;
}

.sku-spec-value {
    position: relative;
    display: inline-block;
    width: auto;
    padding: 0.4rem;
    margin: 0 0.2rem 0.4rem 0;
    font-size: 0.6rem;
    color: #151516;
    line-height: 0.6rem;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 0.3rem;
}
.sku-selector-number {
    position: relative;
    width: 100%;
    height: 2rem ;
    margin-bottom: 0.2rem;
    line-height: 2rem;
    font-size: 0.8rem;
    padding-left: 0.2rem;
}
.sku-selector-number span {
    display: inline-block;
    font-size: 0.8rem;
    color: #151516;
}
.sku-selector-number, .sku-specs {
    border-bottom: 1px solid #f2f2f2;
}
.sku-selector-reduce {
    position: absolute;
    right: 3.7rem;
    top: 0.3rem;
    width: 1.5rem;
    text-align: center;
    border-radius: 0.1rem;
    background-color: #e0e0e0;
    line-height: 1.2rem;
}
.sku-selector-input {
    position: absolute;
    background-color: #f2f2f2!important;
    right: 1.6rem!important;
    top:0.3rem!important;
    width: 2rem!important;
    height: 1.2rem!important;
    font-size: 0.6rem!important;

    color: #151516!important;
    text-align: center!important;
}


.sku-selector-increase {
    position: absolute;
    right: 0;
    top: 0.3rem;
    width: 1.5rem;
    text-align: center;
    border-radius: 0.1rem;
    background-color: #e0e0e0;
    line-height: 1.2rem;
}


.sku-selector-bottom {
    width: 100%;
    height: 2rem;
    line-height: 0.8rem;
    font-size: 0.9rem;
    color: #fff;
    background-color: #e02e24;
    text-align: center;
    padding-top: 0.5rem;
}
.sku-spec-value-selected {
    color: #fff;
    background-color: #e02e24;
}